<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script src="node_modules/axios/dist/axios.min.js"></script>

    <script>
      axios({
        method: "post",
        url: "http://localhost:4000/graphql",
        data: {
          query: "{ foo count }",
        },
      }).then((res) => {
        console.log(res.data.data);
      });
    </script>
  </body>
</html>
